package com.a1808.dubbo;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 加载配置文件，启动服务   实际上就是初始化spring容器
 * @author 45466
 *
 */
public class BootStart {
	
	public static void main(String[] args) {
		//加载容器
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath:app-provider.xml");
		
		try {
			System.in.read();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}

}
